package cn.stylefeng.guns.modular.pandian.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.pandian.entity.PandianJihuaUser;
import cn.stylefeng.guns.modular.pandian.model.params.PandianJihuaUserParam;
import cn.stylefeng.guns.modular.pandian.model.result.PandianJihuaUserResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 盘点人员表 服务类
 * </p>
 *
 * @author zhucx
 * @since 2022-01-07
 */
public interface PandianJihuaUserService extends IService<PandianJihuaUser> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2022-01-07
     */
    void add(PandianJihuaUserParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2022-01-07
     */
    void delete(PandianJihuaUserParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2022-01-07
     */
    void update(PandianJihuaUserParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2022-01-07
     */
    PandianJihuaUserResult findBySpec(PandianJihuaUserParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2022-01-07
     */
    List<PandianJihuaUserResult> findListBySpec(PandianJihuaUserParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2022-01-07
     */
     LayuiPageInfo findPageBySpec(PandianJihuaUserParam param,String condition);

}
